// ====================Game_Action====================

SDS_CARD_COPY.Game_Action_apply = Game_Action.prototype.apply;
Game_Action.prototype.apply = function (target) {
    SDS_CARD_COPY.Game_Action_apply.call(this, target);
    if (CardGameManager.isCardGame()) {
        this.applyArmor(target);
    }
}
Game_Action.prototype.applyArmor = function (target) {
    const subject = this.subject();
    const item = this.item();
    const skillId = item.id;
    const armor = $dataSkills[skillId].armor;
    target.gainArmor(armor);
}

Game_Action.prototype.repeatTargets = function(targets) {
    return targets;
};

Game_Action.prototype.animationId = function(targets) {
    return this.item()?.animationId;
};